package service;

import entity.Dept;
import entity.Emp;
import entity.EmpVo;
import entity.Login;

import java.util.List;

public interface Service {
    /**
     * @param account
     * @return
     */
    EmpVo queryEmpByAccoubt(String account);

    /**
     * @return
     */
    List<Dept> queryAllDept(int did);

    /**
     * @param did
     * @return
     */
    List<EmpVo> selelctEmpByDept(int did, int from, int eid);

    /**
     * @param did
     * @return
     */
    int selelctEmpCountByDept(int did);
}
